<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="../css/css.css"/>
    <link rel="stylesheet" type="text/css" href="../css/style.css"/>
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1141457_4od1qwryv03.css">
</head>
<body>
<style>
    html, body {
        background: transparent !important;
    }
</style>
<div id="app">
    <div class="updates">
        <div class="updates2">
            <h2 class="aui-text-center pb90">您还没开启GPS定位<br>开启定位才可以约会哦</h2>
            <div class="sublj mt20 mb30" @click="close">
                <span>知道了</span>
            </div>
        </div>
        <i class="icon iconfont icon-close3" @click="close"></i>
    </div>
</div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script src="../script/vue2.js"></script>
<script type="text/javascript">
    apiready = function () {
        var vm = new Vue({
            el: "#app",
            data: {
                version: api.pageParam.version,
                versionDes: api.pageParam.versionDes,
                source: api.pageParam.source,
            },
            mounted: function () {
                var that = this;
            },
            methods: {
                close: function () {
                    api.closeFrame({
                        name: 'location'
                    });
                },
            },
            filters: {
                filtersImg: function (img) {
                    var imgs = ajaxUrl + '/' + img
                    return imgs;
                },
                filtersNav: function (e) {
                    var s = parseInt(e) + 1;
                    var img = 'image/nav-' + s + '.png'
                    return img;
                }
            }
        })

    }
</script>
</html>
